package myprojectcompany

class CompanyService {

	def getElem(params){
		println(params)
		def elem = Company.get(params.get("id"))
		return [
			'success' :'true', 
			       id : elem.id, 
			     name : elem.name, 
			  history : elem.history,
			      web : elem.web, 
			startDate : elem.startDate
		       ]
	}
}
